package com.baiduspring.dubbo.service.server.article;

import com.baiduspring.dubbo.service.article.ArticleService;
import com.baiduspring.dubbo.service.mybatis.mapper.ArticleMapper;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Log4j2
public class ArticleServiceImpl implements ArticleService {
    @Resource
    private ArticleMapper articleMapper;

    @Override
    public Long count() {
        return articleMapper.count();
    }
}
